//首次进入循环时，进行初始化
if(_srf{{lowerCase logicNodeModel.codeName}}.getLoopBody() == null){
    {{#if logicNodeModel.pSDELogicNode.srcPSDELogicParam.isEntityPageParam}}
    _srf{{lowerCase logicNodeModel.codeName}}.init(_{{logicNodeModel.pSDELogicNode.srcPSDELogicParam.codeName}}.getContent());
    {{else}}
    _srf{{lowerCase logicNodeModel.codeName}}.init((java.util.List)_{{lowerCase logicNodeModel.pSDELogicNode.srcPSDELogicParam.codeName}});
    {{/if}}
}
//判断是否完成循环，未完成循环时，设置循环变量，并增加当前循环次数；完成循环后，清空循环变量
if(_srf{{lowerCase logicNodeModel.codeName}}.getLoopCurrent() < _srf{{lowerCase logicNodeModel.codeName}}.getLoopCount()){
    CachedBeanCopier.copy(_srf{{lowerCase logicNodeModel.codeName}}.getLoopBody().get(_srf{{lowerCase logicNodeModel.codeName}}.getLoopCurrent()), _{{lowerCase logicNodeModel.pSDELogicNode.dstPSDELogicParam.codeName}});
    _srf{{lowerCase logicNodeModel.codeName}}.setLoopCurrent(_srf{{lowerCase logicNodeModel.codeName}}.getLoopCurrent()+1);
}
else{
    _srf{{lowerCase logicNodeModel.codeName}}.done();
}
